<ion-view title="组织机构" class="fetchUser" hide-nav-bar="{{$root.dingMobile.hideHeader}}">
    <ion-nav-bar class="bar" >
        <ion-nav-buttons side="left">
            <button class="button button-icon button-clear ion-ios-arrow-left" ng-click="BackPage()">{{names.Back}}</button>
        </ion-nav-buttons>
    </ion-nav-bar>

    <ion-content ng-class="{'has-header' : NavBarShow }" class="has-footer ">
        <!--本部门-->
        <div class="department">
            <span class="vertical-line"></span>
            <p class="text">组织机构</p>
        </div>
        <!--列表-->
        <div class="select-wrapper">
            <ul ng-if="selectPersons.partLists && selectPersons.partLists.length > 0">
                <li class="part-item" ng-repeat="item in selectPersons.partLists track by $index" ng-click="selectPartItem(item, $index)">
                        <span class="part-left part-text">
                            {{item.Text}}
                        </span>
                    <div class="part-right">
                          <span class="part-text">
                                    {{item.ExtendObject.ChildrenCount}}
                          </span>
                        <span class="part-text-icon">
                                <i class="ion-ios-arrow-right"></i>
                            </span>
                    </div>
                </li>
            </ul>
            <div class="no-data" ng-if="selectPersons.personList.length < 1">
                暂无数据
            </div>
        </div>
    </ion-content>

</ion-view>